package com.suoyue.store.entity;

import java.io.Serializable;

public class Product implements Serializable {
    private Integer pid;
    private String name;
    private String image;
    private String description;
    private Double price;
    private Integer is_delete;

    public Product() {
    }

    public Product(Integer pid, String name, String image, String description, Double price, Integer is_delete) {
        this.pid = pid;
        this.name = name;
        this.image = image;
        this.description = description;
        this.price = price;
        this.is_delete = is_delete;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(Integer is_delete) {
        this.is_delete = is_delete;
    }

    @Override
    public String toString() {
        return "Product{" +
                "pid=" + pid +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", is_delete=" + is_delete +
                '}';
    }
}
